package cn.sunlight.gulimall.product.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class IndexController {

    @GetMapping({"/","/index.html"})
    public String indexPage(){
        //TODO 1.查出所有的1级分类

        return "index";
    }

}
